export default {
  "POST /apiend/admin/category/add": (req, res) => {
    res.status(200).send({
      code: "SUCCESS",
      msg: "登录成功"
    });
  },
  "GET /apiend/category/all": (req, res) => {
    res.status(200).send({
        code: "SUCCESS",
        msg: null,
        data: [{
          "createTime": "2018-10-10 22:33:06",
          "updateTime": "2018-10-10 22:33:06",
          "createBy": null,
          "updateBy": null,
          "categoryId": 1,
          "name": "星空矿机",
          "state": "NORMAL",
          "delete": false
        }, {
          "createTime": "2018-10-10 22:33:34",
          "updateTime": "2018-10-10 22:33:36",
          "createBy": null,
          "updateBy": null,
          "categoryId": 2,
          "name": "星空论坛",
          "state": "NORMAL",
          "delete": false
        }]
      }
    )
  },
  "GET /apiend/admin/category/delete/([0-9]*)": (req, res) => {
    res.status(200).send({
        "code": "SUCCESS",
        "msg": null,
        "data": {
          "createTime": "2018-10-10 22:33:06",
          "updateTime": "2018-10-10 22:37:45",
          "createBy": null,
          "updateBy": null,
          "categoryId": 1,
          "name": "星空矿机",
          "state": "NORMAL",
          "delete": true
        }
      }
    )
  }
}
